#!/bin/bash

echo '$0 = '$0
echo '$1 = '$1
# echo '$2 = '$2
# echo '$3 = '$3
# echo '$4 = '$4
# echo '$5 = '$5
# echo '$6 = '$6
# echo '$7 = '$7
# echo '$8 = '$8
# echo '$9 = '$9
# echo '${10} = '${10}
# echo '${11} = '${11}

echo '$# = '$#
echo '$@ = '$@
echo '$* = '$*
echo '$$ = '$$
echo '$? = '$?

path=kyo:root:bin:bash:ifconfig:kyo:linux:unix:shell

echo 'path = '$path
echo '${path#*:} = '${path#*:}
echo '${path##*:} = '${path##*:}
echo '${path%:*} = '${path%:*}
echo '${path%%:*} = '${path%%:*}
echo '${path%%ifconfig*} ='${path%%ifconfig*}

echo '${path:3:5} = '${path:3:5}

echo '${path/kyo/KYO} = '${path/kyo/KYO}
echo '${path//kyo/KYO} = '${path//kyo/KYO}

echo '${#path} = '${#path}

